package com.dgut.lotterySystem.service.dto;

import com.dgut.lotterySystem.service.enums.ActivityEnum;
import lombok.Data;


@Data
public class ActivityInfoDTO {
    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 活动名字
     */
    private String activityName;
    /**
     * 活动描述
     */
    private String description;
    /**
     * 活动状态
     */
    private ActivityEnum status;

    public Boolean valid(){
        return status.equals(ActivityEnum.RUNNING);
    }
}
